<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <title>示例10</title>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="(item,index) in lesson":key="index">
                {{index}}-{{item.name}}-{{item.type}}
            </li>
        </ul>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script type="text/javascript">
        var vm=new Vue({
            el:'#app',
            data:{
               lesson:[
                   {name:'前端三大块',type:['HTML','CSS','JavaScript']},
                   {name:'前端三大框架',type:['Vue','React','Angular']},
               ]
            }
        });
    </script>
</body>
</html>